﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>XML Reader</title>
    <script src="../Common/JQuery.1.7.1.js" type="text/javascript"></script>
    <script src="ObjTree.js" type="text/javascript"></script>

    <script type="text/javascript">

        $.ajax({
            url: "Config.xml",
            success: function(data, status, jqXHR)
            {
                var xotree = new XML.ObjTree();
                var config = xotree.parseXML(data.xml);
                config.handler = function(){};

                alert(xotree.writeXML(config));
            },
            dataType: "xml"
        });

    </script>
</head>
<body>

</body>
</html>
